package com.zenithsun.common.base.bo;

import com.zenithsun.sys.domain.bo.SysUser;
import java.util.Date;

/**
 * @Author karlwanghn
 * 持久数据对象基类
 * 主是对象的基本属性和通用的行业属性
 */
public abstract class DataEntity <T> {
    private static final long serialVersionUID = 1L;
    /**
     * id 实体主键
     */
    protected String id;
    /**
     * 备注
     */
    protected String remarks;
    /**
     * 创建者
     */
    protected SysUser createBy;
    /**
     * 创建日期
     */
    protected Date createDate;
    /**
     * 更新者
     */
    protected SysUser updateBy;
    /**
     * 更新日期
     */
    protected Date updateDate;
    /**
     * 删除标记（0：正常；1：删除；2：审核）
     * 用于做逻辑删除处理
     */
    protected String delFlag;


    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public SysUser getCreateBy() {
        return createBy;
    }

    public void setCreateBy(SysUser createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public SysUser getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(SysUser updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }
}
